LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-18-2013, 02:41 AM   #1
cdhar
Member
 
Registered: Jul 2012
Posts: 41

Rep: Reputation: Disabled
/etc/profile write to 1 failed [No space left on device]


Hi,

I am getting the following message when I log in to x86_64 linux machine through putty with my user (not root).

/etc/profile: line 24: write to 1 failed [No space left on device]
/etc/profile[24]: [: argument expected
/etc/profile: line 38: write to 1 failed [No space left on device]
/etc/profile: line 42: write to 1 failed [No space left on device]
/etc/profile: line 46: write to 1 failed [No space left on device]
/etc/profile: line 48: write to 1 failed [No space left on device]
/etc/profile[63]: .: line 14: write to 1 failed [No space left on device]
/etc/profile[63]: .: line 5: write to 1 failed [No space left on device]
/etc/profile[63]: .[5]: [: argument expected
/etc/profile[63]: .: line 5: write to 1 failed [No space left on device]
/etc/profile[63]: .[5]: [: argument expected
/etc/profile[63]: .: line 53: write to 1 failed [No space left on device]
/etc/profile[63]: .: line 3: write to 1 failed [No space left on device]
/etc/profile[63]: .: line 3: write to 1 failed [No space left on device]
$

I am new to linux. Please let me know what should I do to resolve this?

$ ksh --version
ksh --version
version sh (AT&T Research) 93t+ 2010-06-21
bash-3.2$

Thanks,
cdhar
 
Old 03-18-2013, 04:49 AM   #2
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,281

Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
Probably you have no space left on disc drive. Login as root and free some space on your user home partition. By command
Code:
df -h
you can realize how many space is on particular partition.

Last edited by eSelix; 03-18-2013 at 04:50 AM.
 
Old 03-18-2013, 04:54 AM   #3
cdhar
Member
 
Registered: Jul 2012
Posts: 41

Original Poster
Rep: Reputation: Disabled
Thank you.

/opt/u01/app/oracle/diag/rdbms/db11g/DB11G/trace/
The above oracle database directory is fully occupied with .trc files. Problem resolved after removing the files.

du -a /opt | sort -n -r | head -n 10

The above command provided the top 10 directories eating up disk space.

Thanks,
cdhar
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
write to 1 failed [No space left on device] cyberchip Linux - Software 3 10-16-2012 10:55 AM
write to 1 failed [No space left on device] cyberchip Linux - Kernel 1 10-04-2012 01:51 PM
Cannot write: No space left on device louk88 Linux - Newbie 9 04-22-2012 06:43 PM
webmin troubles - Failed to write to /etc/webmin/module.infos.cache : No space left o coal-fire-ice Linux - Software 1 07-28-2005 10:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration